package com.xuyoupeng.springframework.context.event;


import com.xuyoupeng.springframework.context.ApplicationEvent;
import com.xuyoupeng.springframework.context.ApplicationListener;

/**
 * @author xuyoupneg
 * @description TODO
 * @date 2024/3/30 16:37
 */
public interface ApplicationEventMulticaster {

    void addApplicationListener(ApplicationListener<?> listener);

    void removeApplicationListener(ApplicationListener<?> listener);

    void multicastEvent(ApplicationEvent event);
}
